<% form_tag url_for(:controller => "communities", :action => "search"), :method => :get do -%>
    <input name="q" type="text" size="40" maxlength="72" value="<%= params[:q]%>" id="page_focus"/>
    <%= submit_tag '搜索社区'%>
<% end -%>